package com.yonyou.iuap.jxzy.entity;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.StrUtil;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.yonyou.iuap.baseservice.entity.AbsModel;
import com.yonyou.iuap.baseservice.entity.annotation.Reference;
import com.yonyou.iuap.baseservice.entity.annotation.Associative;
import com.yonyou.iuap.baseservice.support.condition.Condition;
import com.yonyou.iuap.baseservice.support.condition.Match;
import com.yonyou.iuap.baseservice.support.generator.GeneratedValue;
import com.yonyou.iuap.baseservice.support.generator.Strategy;
import com.yonyou.iuap.baseservice.entity.annotation.CodingEntity;
import com.yonyou.iuap.baseservice.entity.annotation.CodingField;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Random;
import java.math.BigDecimal;

/**
 * 国内废纸称重子表
 * @date 2019年05月30日 下午04点17分05秒
 */

@JsonIgnoreProperties(ignoreUnknown = true)
@Table(name = "jx_domesticPaper_b_view")
@Associative(fkName = "pk_domesticpaper")   
@CodingEntity(codingField="")
public class DomesticPaper_b extends AbsModel implements Serializable
{
    @Id
    @GeneratedValue
    @Condition
    protected String id;//ID
    @Override
    public String getId() {
        return id;
    }
    @Override
    public void setId(Serializable id){
        this.id= id.toString();
        super.id = id;
    }
    public void setId(String id) {
        this.id = id;
    }
    
    @Condition
    @Column(name="serialNo")
    private String serialNo;        //序列号

    public void setSerialNo(String serialNo){
        this.serialNo = serialNo;
    }
    public String getSerialNo(){
        return this.serialNo;
    }

    @Condition
    @Column(name="waterRatioArtificial")
    private String waterRatioArtificial;        //含水分比-人工(%)

    public void setWaterRatioArtificial(String waterRatioArtificial){
        this.waterRatioArtificial = waterRatioArtificial;
    }
    public String getWaterRatioArtificial(){
        return this.waterRatioArtificial;
    }
    

    @Condition
    @Column(name="waterRatioMeter")
    private String waterRatioMeter;        //含水分比-测水仪(%)

    public void setWaterRatioMeter(String waterRatioMeter){
        this.waterRatioMeter = waterRatioMeter;
    }
    public String getWaterRatioMeter(){
        return this.waterRatioMeter;
    }
    

    @Condition
    @Column(name="buckleWaterWeight")
    private String buckleWaterWeight;        //扣水分重(吨)

    public void setBuckleWaterWeight(String buckleWaterWeight){
        this.buckleWaterWeight = buckleWaterWeight;
    }
    public String getBuckleWaterWeight(){
        return this.buckleWaterWeight;
    }
    

    @Condition
    @Column(name="impurityWeight")
    private String impurityWeight;        //扣杂质重(吨)

    public void setImpurityWeight(String impurityWeight){
        this.impurityWeight = impurityWeight;
    }
    public String getImpurityWeight(){
        return this.impurityWeight;
    }
    

    @Condition
    @Column(name="inspector")
    private String inspector;        //检验员

    public void setInspector(String inspector){
        this.inspector = inspector;
    }
    public String getInspector(){
        return this.inspector;
    }
    

    @Condition
    @Column(name="checkPoint")
    private String checkPoint;        //检验点

    public void setCheckPoint(String checkPoint){
        this.checkPoint = checkPoint;
    }
    public String getCheckPoint(){
        return this.checkPoint;
    }
    

    @Condition
    @Column(name="inspectTime")
    private String inspectTime;        //检验时间

    public void setInspectTime(String inspectTime){
        this.inspectTime = inspectTime;
    }
    public String getInspectTime(){
        return this.inspectTime;
    }
    

    @Condition
    @Column(name="returnGoodsReason")
    private String returnGoodsReason;        //退货原因

    public void setReturnGoodsReason(String returnGoodsReason){
        this.returnGoodsReason = returnGoodsReason;
    }
    public String getReturnGoodsReason(){
        return this.returnGoodsReason;
    }
    

    @Condition
    @Column(name="forkliftWorkerNo")
    private String forkliftWorkerNo;        //叉车工工号

    public void setForkliftWorkerNo(String forkliftWorkerNo){
        this.forkliftWorkerNo = forkliftWorkerNo;
    }
    public String getForkliftWorkerNo(){
        return this.forkliftWorkerNo;
    }
    

    @Condition
    @Column(name="imgUrl")
    private String[] imgUrl;        //检验照片

    public void setImgUrl(String[] imgUrl){
        this.imgUrl = imgUrl;
    }
    public String[] getImgUrl(){
        return this.imgUrl;
    }
    
    @Condition
    @Column(name="imgUrls")
    private String imgUrls;        //检验照片

    public void setImgUrls(String imgUrls){
        this.imgUrls = imgUrls;
    }
    public String getImgUrls(){
        return this.imgUrls;
    }
    

    @Condition
    @Column(name="isReinspection")
    private String isReinspection;        //是否重检

    public void setIsReinspection(String isReinspection){
        this.isReinspection = isReinspection;
    }
    public String getIsReinspection(){
        return this.isReinspection;
    }
    

    @Condition
    @Column(name="unit")
    private String unit;        //单价

    public void setUnit(String unit){
        this.unit = unit;
    }
    public String getUnit(){
        return this.unit;
    }
    

    @Condition
    @Column(name="returnGoods")
    private String returnGoods;        //退货

    public void setReturnGoods(String returnGoods){
        this.returnGoods = returnGoods;
    }
    public String getReturnGoods(){
        return this.returnGoods;
    }
    

    @Condition
    @Column(name="impurityRatio")
    private String impurityRatio;        //含杂质比(%)

    public void setImpurityRatio(String impurityRatio){
        this.impurityRatio = impurityRatio;
    }
    public String getImpurityRatio(){
        return this.impurityRatio;
    }
    

    @Condition
    @Column(name="pk_domesticpaper")
    private String pk_domesticpaper;        //主表主键

    public void setPk_domesticpaper(String pk_domesticpaper){
        this.pk_domesticpaper = pk_domesticpaper;
    }
    public String getPk_domesticpaper(){
        return this.pk_domesticpaper;
    }
    

    @Condition
    @Column(name="modifierReason")
    private String modifierReason;        //重检原因

    public void setModifierReason(String modifierReason){
        this.modifierReason = modifierReason;
    }
    public String getModifierReason(){
        return this.modifierReason;
    }
    

//    @Condition
//    @Column(name="pk_domesticpaper_b")
//    private String pk_domesticpaper_b;        //主键
//
//    public void setPk_domesticpaper_b(String pk_domesticpaper_b){
//        this.pk_domesticpaper_b = pk_domesticpaper_b;
//    }
//    public String getPk_domesticpaper_b(){
//        return this.pk_domesticpaper_b;
//    }
    

    @Condition
    @Column(name="modifierName")
    private String modifierName;        //修改人姓名

    public void setModifierName(String modifierName){
        this.modifierName = modifierName;
    }
    public String getModifierName(){
        return this.modifierName;
    }
    





}




